package ming.model.type;

import java.util.Date;
import java.util.UUID;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import org.apache.commons.lang.StringUtils;
public class RlicPreAcceptInfoXB {
	
	private String id;
	private String preAcceptNo;
	private String thirdPartySysType;
	private String thirdPartySysNo;
	private String thirdPartySysName;
	private String thirdPartySysUser;
	private int applyType;
	private String entName;
	private String bizAddrAdc;
	private String bizAddrStreet;
	private String bizRange;
	private int ecoType;
	private String ecoTypeOther;
	private String biId;
	private Date biPeriod;
	private String biPeriodS;
	private int placeOwnership;
	private Date tenancyBegin;
	private Date tenancyEnd;
	private String picName;
	private int picCidType;
	private String picCidNo;
	private String picCidAddrStreet;
	private String picAddrStreet;
	private String linkName;
	private String lineTel;
	private String agentName;
	private int agentCidType;
	private String agentCidNo;
	private String orgCode;
	private int documentService;
	private String mailAddress;
	private String documentServiceOther;
	private String warehouseAddress;
	private int ecoTypeSub;
	private String specialGroupType;
	private String specialGroupTypeOther;
	private Date createTime;
	
	
    @Id
    @Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
    	if (!StringUtils.isBlank(this.id)) {
			return this.id;
		}
		return UUID.randomUUID().toString();
	}
    @Column(name = "preAcceptNo", length = 32)
	public String getPreAcceptNo() {
		return preAcceptNo;
	}
    @Column(name = "thirdPartySysType", length = 32)
	public String getThirdPartySysType() {
		return thirdPartySysType;
	}
    @Column(name = "thirdPartySysNo", length = 120)
	public String getThirdPartySysNo() {
		return thirdPartySysNo;
	}
    @Column(name = "thirdPartySysName", length = 512)
	public String getThirdPartySysName() {
		return thirdPartySysName;
	}
    @Column(name = "thirdPartySysUser", length = 64)
	public String getThirdPartySysUser() {
		return thirdPartySysUser;
	}
	
	@Column(name = "applyType")
	public int getApplyType() {
		return applyType;
	}
	@Column(name = "entName", length = 128)
	public String getEntName() {
		return entName;
	}
	@Column(name = "bizAddrAdc", length = 36)
	public String getBizAddrAdc() {
		return bizAddrAdc;
	}
	@Column(name = "bizAddrStreet", length = 256)
	public String getBizAddrStreet() {
		return bizAddrStreet;
	}
	@Column(name = "bizRange", length = 30)
	public String getBizRange() {
		return bizRange;
	}
	@Column(name = "ecoType")
	public int getEcoType() {
		return ecoType;
	}
	@Column(name = "ecoTypeOther", length = 20)
	public String getEcoTypeOther() {
		return ecoTypeOther;
	}
	@Column(name = "biId", length = 20)
	public String getBiId() {
		return biId;
	}
	@Temporal(TemporalType.DATE)
    @Column(name = "biPeriod", length = 7)
	public Date getBiPeriod() {
		return biPeriod;
	}
	@Temporal(TemporalType.TIMESTAMP)
    @Column(name = "biPeriodS", length = 7)
	public String getBiPeriodS() {
		return biPeriodS;
	}
	@Column(name = "placeOwnership")
	public int getPlaceOwnership() {
		return placeOwnership;
	}
	@Temporal(TemporalType.DATE)
    @Column(name = "tenancyBegin", length = 7)
	public Date getTenancyBegin() {
		return tenancyBegin;
	}
	@Temporal(TemporalType.DATE)
    @Column(name = "tenancyEnd", length = 7)
	public Date getTenancyEnd() {
		return tenancyEnd;
	}
	@Column(name = "picName", length = 200)
	public String getPicName() {
		return picName;
	}
	@Column(name = "picCidType")
	public int getPicCidType() {
		return picCidType;
	}
	@Column(name = "picCidNo", length = 20)
	public String getPicCidNo() {
		return picCidNo;
	}
	@Column(name = "picCidAddrStreet", length = 256)
	public String getPicCidAddrStreet() {
		return picCidAddrStreet;
	}@Column(name = "", length = 256)
	public String getPicAddrStreet() {
		return picAddrStreet;
	}
	@Column(name = "linkName", length = 20)
	public String getLinkName() {
		return linkName;
	}
	@Column(name = "lineTel", length = 100)
	public String getLineTel() {
		return lineTel;
	}
	@Column(name = "agentName", length = 20)
	public String getAgentName() {
		return agentName;
	}
	@Column(name = "agentCidType")
	public int getAgentCidType() {
		return agentCidType;
	}
	@Column(name = "agentCidNo", length = 20)
	public String getAgentCidNo() {
		return agentCidNo;
	}
	@Column(name = "orgCode", length = 20)
	public String getOrgCode() {
		return orgCode;
	}
	@Column(name = "documentService")
	public int getDocumentService() {
		return documentService;
	}
	@Column(name = "mailAddress", length = 256)
	public String getMailAddress() {
		return mailAddress;
	}
	@Column(name = "documentServiceOther", length = 60)
	public String getDocumentServiceOther() {
		return documentServiceOther;
	}
	@Column(name = "warehouseAddress", length = 256)
	public String getWarehouseAddress() {
		return warehouseAddress;
	}
	@Column(name = "ecoTypeSub")
	public int getEcoTypeSub() {
		return ecoTypeSub;
	}
	@Column(name = "specialGroupType", length = 200)
	public String getSpecialGroupType() {
		return specialGroupType;
	}
	@Column(name = "specialGroupTypeOther", length = 20)
	public String getSpecialGroupTypeOther() {
		return specialGroupTypeOther;
	}
	@Temporal(TemporalType.DATE)
    @Column(name = "createTime", length = 7)	
	public Date getCreateTime() {
		return createTime;
	}
	public void setId(String id) {
		this.id = id;
	}
	public void setPreAcceptNo(String preAcceptNo) {
		this.preAcceptNo = preAcceptNo;
	}
	public void setThirdPartySysType(String thirdPartySysType) {
		this.thirdPartySysType = thirdPartySysType;
	}
	public void setThirdPartySysNo(String thirdPartySysNo) {
		this.thirdPartySysNo = thirdPartySysNo;
	}
	public void setThirdPartySysName(String thirdPartySysName) {
		this.thirdPartySysName = thirdPartySysName;
	}
	public void setThirdPartySysUser(String thirdPartySysUser) {
		this.thirdPartySysUser = thirdPartySysUser;
	}
	public void setApplyType(int applyType) {
		this.applyType = applyType;
	}
	public void setEntName(String entName) {
		this.entName = entName;
	}
	public void setBizAddrAdc(String bizAddrAdc) {
		this.bizAddrAdc = bizAddrAdc;
	}
	public void setBizAddrStreet(String bizAddrStreet) {
		this.bizAddrStreet = bizAddrStreet;
	}
	public void setBizRange(String bizRange) {
		this.bizRange = bizRange;
	}
	public void setEcoType(int ecoType) {
		this.ecoType = ecoType;
	}
	public void setEcoTypeOther(String ecoTypeOther) {
		this.ecoTypeOther = ecoTypeOther;
	}
	public void setBiId(String biId) {
		this.biId = biId;
	}
	public void setBiPeriod(Date biPeriod) {
		this.biPeriod = biPeriod;
	}
	public void setBiPeriodS(String biPeriodS) {
		this.biPeriodS = biPeriodS;
	}
	public void setPlaceOwnership(int placeOwnership) {
		this.placeOwnership = placeOwnership;
	}
	public void setTenancyBegin(Date tenancyBegin) {
		this.tenancyBegin = tenancyBegin;
	}
	public void setTenancyEnd(Date tenancyEnd) {
		this.tenancyEnd = tenancyEnd;
	}
	public void setPicName(String picName) {
		this.picName = picName;
	}
	public void setPicCidType(int picCidType) {
		this.picCidType = picCidType;
	}
	public void setPicCidNo(String picCidNo) {
		this.picCidNo = picCidNo;
	}
	public void setPicCidAddrStreet(String picCidAddrStreet) {
		this.picCidAddrStreet = picCidAddrStreet;
	}
	public void setPicAddrStreet(String picAddrStreet) {
		this.picAddrStreet = picAddrStreet;
	}
	public void setLinkName(String linkName) {
		this.linkName = linkName;
	}
	public void setLineTel(String lineTel) {
		this.lineTel = lineTel;
	}
	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}
	public void setAgentCidType(int agentCidType) {
		this.agentCidType = agentCidType;
	}
	public void setAgentCidNo(String agentCidNo) {
		this.agentCidNo = agentCidNo;
	}
	public void setOrgCode(String orgCode) {
		this.orgCode = orgCode;
	}
	public void setDocumentService(int documentService) {
		this.documentService = documentService;
	}
	public void setMailAddress(String mailAddress) {
		this.mailAddress = mailAddress;
	}
	public void setDocumentServiceOther(String documentServiceOther) {
		this.documentServiceOther = documentServiceOther;
	}
	public void setWarehouseAddress(String warehouseAddress) {
		this.warehouseAddress = warehouseAddress;
	}
	public void setEcoTypeSub(int ecoTypeSub) {
		this.ecoTypeSub = ecoTypeSub;
	}
	public void setSpecialGroupType(String specialGroupType) {
		this.specialGroupType = specialGroupType;
	}
	public void setSpecialGroupTypeOther(String specialGroupTypeOther) {
		this.specialGroupTypeOther = specialGroupTypeOther;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	
	
	
	


}
